<template>
  <div class="body">
    <van-submit-bar
      disabled
      :price="600"
      button-text="提交订单"
      @submit="onSubmit"
    />
  </div>
</template>

<script>
export default {
  setup() {
    const onSubmit = () => showToast("点击按钮");
    return {
      onSubmit,
    };
  },
};
</script>

<style lang="scss" scoped>
.body ::v-deep .van-submit-bar__bar {
  display: flex;
  margin-bottom: 200px;
}
</style>
